package com.Service.impl;

import com.Service.ExaminationprojectService;
import com.dao.ExaminationprojectMapper;
import com.model.pojo.Examinationproject;
import com.model.pojo.Sheet;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class ExaminationprojectServiceImpl implements ExaminationprojectService {

    @Resource
    private ExaminationprojectMapper examinationprojectMapper;


    @Override
    public List<Examinationproject> doExaminationprojecShow(Examinationproject examinationproject) {
        return examinationprojectMapper.doExaminationprojecShow(examinationproject);
    }

    @Override
    public boolean doExaminationprojecAdd(Examinationproject examinationproject) {
        boolean flag=examinationprojectMapper.doExaminationprojecAdd(examinationproject);
        return flag;
    }


    @Override
    public Examinationproject findExaminationprojectById(Examinationproject examinationproject) {
        return examinationprojectMapper.findExaminationprojectById(examinationproject);
    }

    @Override
    public boolean doExaminationprojectUpdate(Examinationproject examinationproject) {
        boolean flag=examinationprojectMapper.doExaminationprojectUpdate(examinationproject);
        return flag;
    }

    @Override
    public boolean doExaminationprojectDelect(Examinationproject examinationproject) {
        boolean flag=examinationprojectMapper.doExaminationprojectDelect(examinationproject);
        return flag;
    }

    @Override
    public List<Sheet> allPrintShow() {
        return examinationprojectMapper.allPrintShow();
    }

    @Override
    public List<Examinationproject> allPrint(String sheetDimensioncode) {
        return examinationprojectMapper.allPrint(sheetDimensioncode);
    }

    @Override
    public List<Sheet> textcontent(String sheetDimensioncode) {
        return examinationprojectMapper.textcontent(sheetDimensioncode);
    }

    @Override
    public List<Examinationproject> searcho(String SheetProject) {
        return examinationprojectMapper.searcho(SheetProject);
    }
}
